package io.rehuo.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author shiguang
 * @date 2022年09月11日 21:29
 */
@Data
@ApiModel("用户基础信息2")
public class UserTwoFormEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 市
     */
    @ApiModelProperty(value = "地址市")
    @NotNull(message="params is not null")
    private Long cityId;

    /**
     * 区
     */
    @ApiModelProperty(value = "地址区")
    @NotNull(message="params is not null")
    private Long areaId;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址")
    @NotBlank(message="params is not null")
    private String address;

    /**
     * 职业
     */
    @ApiModelProperty(value = "职业")
    @NotNull(message="params is not null")
    private Long vocationId;

    /**
     * 薪资
     */
    @ApiModelProperty(value = "职业")
    @NotNull(message="params is not null")
    private Long salary;

    /**
     * 公司名称
     *
     */
    @ApiModelProperty(value = "公司名称")
    @NotBlank(message="params is not null")
    private String companyName;

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司地址")
    @NotBlank(message="params is not null")
    private String companyAddr;

    /**
     * 公司电话
     */
    @ApiModelProperty(value = "公司电话")
    @NotBlank(message="params is not null")
    private String companyPhone;

    private List<UserRelationForm> userRelationList;
}
